<template>
  <div class="slider">
    <el-slider v-model="sliderValue"></el-slider>
    <span class="demonstration">速度</span>
  </div>
</template>

<script>
export default {
  name:'Slider',
  data(){
    return{
      sliderValue:0,
    }
  },
  methods:{
    formatTooltip(val) {
        return val / 100;
      }
  }
}
</script>

<style>
  .slider{
    
    position: fixed;
    margin: 50px;
    bottom: 10px;
    height: 10px;
    line-height: 10px;
    text-align: center;
    width: 500px;
  }
</style>